1. What is Metrowerks Visual SourceSafe for Macintosh and how is it used?
Metrowerks Visual SourceSafe for Macintosh is a cross-platform version control system, used to track and store changes to a file so that developers and other users can review the file's history, return to earlier versions, and work on files concurrently. It is fully compatible with Microsoft Visual SourceSafe 5.0 and 6.0 running in 5.0 compatibility mode.
2. What does "SourceSafe compatible" mean?
Microsoft Visual SourceSafe is source code control system database format developed by Microsoft. Metrowerks Visual SourceSafe for Macintosh can access a Microsoft Visual SourceSafe database and has the same core feature set as Microsoft Visual SourceSafe.
3. Can we access a Microsoft Visual SourceSafe database stored on our Windows NT server from a Macintosh?
Absolutely. When using the NT machine as the server with your SourceSafe database, simply create a Macintosh-accessible volume on the NT server and mount it on the Macintosh desktop. Apple File Services software is required for the Windows NT server.
4. Can we establish a Microsoft Visual SourceSafe database on a Macintosh server?
If every member of your team is using a Macintosh, then a Macintosh may be used as the database server.
5. Do you have a recommended client/server configuration for an environment such as ours where we need to have MacOS, Wintel, & UNIX clients all access the same sourcebase?
Clients | Server | Protocol | ||||
All Macintosh | Macintosh (Appleshare Volume) | Apple File ----- | ||||
Mac & Windows |
|
|
||||
Macs and UNIX | UNIX (Appleshare Volume) | AFP (using netatalk or ethershare) | ||||
Macs, Windows & UNIX | UNIX (Appleshare Volume & NTFS volume) | APF (from Macs) & SMB (from Windows using Samba) |
6. Will Metrowerks Visual SourceSafe work with all types of files, including binary files?
Yes, you can work with text or binary files.
7. What is the maximum number of users for Metrowerks Visual SourceSafe?
Metrowerks Visual SourceSafe handles an unlimited number of users.
8. How is Metrowerks Visual SourceSafe licensed?
Metrowerks Visual SourceSafe is licensed on a per user basis for $499. Each user must obtain a license to use the product. Metrowerks Visual SourceSafe is also licensed in multi-user packs as follows: 5-14 users $424 per user; 15 or more users $399 per user.
Information on multi-user pack pricing can be addressed to price@metrowerks.com
9. How does Metrowerks Visual SourceSafe for Macintosh promote code reuse?
In Metrowerks Visual SourceSafe for Macintosh, you can share a file. This allows you to share a single master file in the Visual SourceSafe database. You can then use this file in more than one project. Any changes to the file automatically update all other projects that share the file.
10. How does Metrowerks Visual SourceSafe support parallel development?
Metrowerks Visual SourceSafe provides the branching and merging features necessary to support parallel development.
11. What security features does Metrowerks Visual SourceSafe have?
Metrowerks Visual SourceSafe has a password protected administration program that can assign five levels of access to a user: none/read/change/add/delete. In addition, for each command executed, Visual SourceSafe checks the user's name and password to ensure authorized access.
12. Can it be used as a client to a remote server?
Absolutely. It is used just like Microsoft's SourceSafe for the Macintosh. Using Visual SourceSafe as a client to access a Visual SourceSafe database on a network server (Mac, NT, 95, UNIX NFS, whatever) is the normal way most people work with Visual SourceSafe.
13. Is there a Visual SourceSafe newsgroup?
No, but Visual SourceSafe and Microsoft Visual SourceSafe are discussed on the following newsgroups:
comp.software.config-mgmt
microsoft.public.sourcesafe
comp.sys.mac.programmers.codewarrior
14. Will Metrowerks Visual SourceSafe work with all types of files, including binary files?
Yes, you can work with text or binary files.
15. How do I submit a bug report about Microsoft Visual SourceSafe?
Use the Microsoft Visual SourceSafe bug submission web page.
16. What has changed since the last version of Microsoft Visual SourceSafe?
Check the Microsoft Visual SourceSafe web page.
17. Is Metrowerks going to provide CodeWarrior IDE VCS plug-in for other version code control systems?
No. Contact your favorite version control system provider and encourage them to create a CodeWarrior IDE VCS plug-in.
18. Can I get printed copies of the Metrowerks Visual SourceSafe documentation?
Yes, softcover copies of Inside Metrowerks Visual SourceSafe for Macintosh Release 6 are available for sale from Metrowerks.
19. My database reports the error "xxxxxxxx.x not found" when I perform a Get or an Add and the database is hosted on an NT Server. Where are my files?
Fortunately, the files are still on the NT server, they're just hidden.
Essentially, the MacFile index in the Macintosh File Services is not kept in sync with the NTFS file system under some circumstances. Microsoft has confirmed this to be a problem in Windows NT versions 3.51 and 4.0 and has corrected it in the Microsoft Windows NT 4.0 U.S. Service Pack 3.
For more details, visit these MS Knowledge Base sites using your favorite Internet browser:
20. When using CodeWarrior IDE v2, I can't open my projects and I get an error of -5000 everytime I make the attempt. How do I fix this?
MW Visual SourceSafe doesn't recognize the Settings.stg and .tdt mask types as part of your project. To correct, you need to add the line:
Relevant_Masks = !*.stg, !*.tdt
To either your srcsafe.ini file or your ss.ini file. Add the line to your srcsafe.ini file if everyone on the project is using the CodeWarrior IDE v2 application for development work. If only some individuals are using the v2 version of the IDE, then just add the line to their personal ss.ini files.
21. Can I use the tilde (~) character in a filename?
Yes, but we recommend that you don't.
Within MW Visual SourceSafe and Microsoft SourceSafe, the tilde character is used in two ways. The first denotes a version range (-vd11/2/96~ljust_because). The second compresses filenames so they will fit into a give n namespace. It is this second case where trouble can occur.
When the short name (the one stored at the parent's database record header) is generated, it is hashed for storage in sort order, making it fast to find a particular file record. This mechanism works well for all files except the case where the name contains a tilde character not inserted by MW Visual SourceSafe or MS SourceSafe.
The reason this case doesn't work is because the characters following the tilde are considered to be sequencing information relating to the compressed name. Thus, when you have a file whose name begins with a tilde (or for that matter has a tilde anywhere in it), you end up with the sort key being generated incorrectly. The upshot is that the project file is now missequenced according to the sort keys and that resequence won't operate on the files
22. When I modify a resource file with a resource editor, why doesn't MW Visual SourceSafe check in the updated resource file when Use_CKID = Yes?
Answer: Because the CKID resource in the resource file was not changed.
There is an anomaly in using CKIDs to provide modification information on resource files in a MW Visual SourceSafe project. This is not a problem with standard files that only use the data fork, only with files containing resources that are modified with resource editors.
Essentially, the problem presents itself when a client uses the setting Use_CKID = Yes.
When a file is checked out containing resources, then modified with a resource editor like ResEdit or Resorcerer, the CKID resource is not updated to reflect the modification automatically. The next time the file is checked back in, MW Visual SourceSafe matches the file's CKID with its own copy of the file's CKID in the project database, finds no difference, and doesn't update the file in the project. Result, the changes are not added to its internal copy.
Solutions
*If You Must Use CKIDs - ensure that you change the modifyreadonly setting in the CKID resource within the resource file before attempting to check it back into the project database.
Alternately, you can create a new sub-project to hold all your resource files that require modification by a resource editor and set it not to use CKIDs for checkin comparison in your srcsafe.ini file or ss.ini file. In this example, all the files in the Proj directory will use CKIDs, while the files in the Proj/Rsrc directory will not:
NOTE: You should also set Honor_Timestamp to Yes when using CKIDs.
*If You Don't Need CKIDs - just set Use_CKID = No in the srcsafe.ini or ss.ini file and the entire contents of the project file will be compared to the resident copy in the project database. Any changes will be noted and the project database updated with the new data in the file.
23. Is it possible to modify a file when I am off-line from the project database, and later check it in?
Yes, but you must exercise great care. Once you have reconnected to the project database, perform a checkout of the file without getting a local copy, then checkin the modified file. See "Retrieving Files" on page VPG-46 of the "Inside Metrowerks Visual SourceSafe for Macintosh" manual for details.
NOTE: If Multiple_Checkouts = Yes and Use_CKID = Yes, commands that can suppress local copies (like Get) can cause problems with modified files.
Imagine the scenario where you have two people accessing the same file which is currently at version 1. Person A checks the file out and Person B gets a copy of the file for review. Person A modifies the file and properly checks it back into the database as version 2. Person B decides to modify their local copy of the file, then checks the file out (version 2) while suppressing the local copy, and checks their local copy back into the database as version 3. In effect, Person B has over-ridden any changes made to the file by Person A. Person A's changes are now locked into version 2 of the file because Person B didn't know the file had changed.
24. MW Visual SourceSafe IDE plug-in refuses to allow me to add a file. What can I do?
Hold down the Command key and try again. If the CodeWarrior IDE becomes confused about a file's status, holding down the Command key while clicking the menubar will enable all VCS commands, allowing you to add your file.
25. After I add a file to MW Visual SourceSafe, where does the file go? Is the copy that I add the "real" copy, which MW Visual SourceSafe is simply pointing to? Or has it created a copy in another directory somewhere?
The master copy of the file does not exist in a directory at all. It exists in a project in a MW Visual SourceSafe database. The file you added still exists, but you can delete it from your directory if you like: MW Visual SourceSafe has the file available for you to work with at any time.
It is important to understand that a project is not a directory and a directory is not a project. Rather, a project is associated with a directory, such as your working directory or a shadow directory.
26. If I change a file, check it in to MW Visual SourceSafe, and then use the Difference command on that file, MW Visual SourceSafe displays the message The files are identical, in spite of my changes. Why doesn't MW Visual SourceSafe show me the changes I just made?
The key is understanding what the Difference command does. It compares MW Visual SourceSafe's most recent version of a file to the copy in your working directory. If you've just checked the file in, the two copies are identical.
One way to work around this is to use the Difference command before checking in the file; seeing your changes may also help you formulate your checkin comment.
After checkin, you can see your changes by comparing the current master copy of the file against the previous version, using the History command with the -d option to show line-by-line differences in the file.
27. After you have shared a file among a number of projects, you may lose track of which project the file actually started in. Which project is the “original” of the file: which project is it really in, and which is it shared to?
The file is in all the projects that share it: no project is “original”. MW Visual SourceSafe does not know which project the file was first added to. Internally, the file simply exists in the MW Visual SourceSafe database, and every project that shares it has a pointer to it.
28. Why doesn't my initialization variable work?
MW Visual SourceSafe has a host of initialization variables and configuration settings that you can use to control the way MW Visual SourceSafe works, and they are all accessible by editing a simple text file. However, it can be frustrating to place a variable into the file and then discover that it does not seem to be working.
There are several common causes of this problem:
29. I just installed MW Visual SourceSafe, why do I get the error message "Directory not found" whenever I execute a MW Visual SourceSafe command?
Your Project_Dir initialization variable may not be an absolute path.
30. Are there any network configurations that we should avoid?
You should currently avoid the following network configurations:
![]() |
Metrowerks, Inc. 9801 Metric Blvd. Austin, TX 78758 |
phone: 800.377.5416 512.873.4700 fax: 512.873.4901 |
<sales@metrowerks.com> <http://www.metrowerks.com> |
Download CodeWarrior Lite Today! |
Copyright Metrowerks (c)1998 - 1999